import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/user-bank/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getUserBankListAll(params) {
    return axios.post({
        url: '/user-bank/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getUserBankList(params) {
    return axios.post({
        url: '/user-bank/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editUserBank(params) {
    return axios.post({
        url: '/user-bank/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserBank(params) {
    return axios.post({
        url: '/user-bank/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserBank(params) {
    return axios.post({
        url: '/user-bank/load',
        data: params
    }).then((res) => {
        return res
    })
}

